package com.tools.permissions.library;


import android.Manifest;

public class Permissions {

    public static final String READ_CALENDAR = Manifest.permission.READ_CALENDAR;
    public static final String WRITE_CALENDAR = Manifest.permission.WRITE_CALENDAR;

    public static final String CAMERA = Manifest.permission.CAMERA;

    public static final String READ_CONTACTS = Manifest.permission.READ_CONTACTS;
    public static final String WRITE_CONTACTS = Manifest.permission.WRITE_CONTACTS;
    public static final String GET_ACCOUNTS = Manifest.permission.GET_ACCOUNTS;

    public static final String ACCESS_FINE_LOCATION = Manifest.permission.ACCESS_FINE_LOCATION;
    public static final String ACCESS_COARSE_LOCATION = Manifest.permission.ACCESS_COARSE_LOCATION;

    public static final String RECORD_AUDIO = Manifest.permission.RECORD_AUDIO;

    public static final String READ_PHONE_STATE = Manifest.permission.READ_PHONE_STATE;
    public static final String CALL_PHONE = Manifest.permission.CALL_PHONE;
    public static final String READ_CALL_LOG = Manifest.permission.READ_CALL_LOG;
    public static final String WRITE_CALL_LOG = Manifest.permission.WRITE_CALL_LOG;
    public static final String ADD_VOICEMAIL = Manifest.permission.ADD_VOICEMAIL;
    public static final String USE_SIP = Manifest.permission.USE_SIP;
    public static final String PROCESS_OUTGOING_CALLS = Manifest.permission.PROCESS_OUTGOING_CALLS;
    public static final String BLUETOOTH_ADMIN = Manifest.permission.BLUETOOTH_ADMIN;

    public static final String BODY_SENSORS = Manifest.permission.BODY_SENSORS;
    public static final String WRITE_SETTINGS = Manifest.permission.WRITE_SETTINGS;
    public static final String SEND_SMS = Manifest.permission.SEND_SMS;
    public static final String RECEIVE_SMS = Manifest.permission.RECEIVE_SMS;
    public static final String READ_SMS = Manifest.permission.READ_SMS;
    public static final String RECEIVE_WAP_PUSH = Manifest.permission.RECEIVE_WAP_PUSH;
    public static final String RECEIVE_MMS = Manifest.permission.RECEIVE_MMS;

    public static final String READ_EXTERNAL_STORAGE = Manifest.permission.READ_EXTERNAL_STORAGE;
    public static final String WRITE_EXTERNAL_STORAGE = Manifest.permission.WRITE_EXTERNAL_STORAGE;

    public static final String[] CALENDAR = new String[]{
            Permissions.READ_CALENDAR,
            Permissions.WRITE_CALENDAR};

    public static final String[] CAMERAS = new String[]{Permissions.CAMERA};

    public static final String[] CONTACTS = new String[]{
            Permissions.READ_CONTACTS,
            Permissions.WRITE_CONTACTS,
            Permissions.GET_ACCOUNTS};

    public static final String[] LOCATION = new String[]{
            Permissions.ACCESS_FINE_LOCATION,
            Permissions.ACCESS_COARSE_LOCATION};

    public static final String[] MICROPHONE = new String[]{Permissions.RECORD_AUDIO};

    public static final String[] PHONE = new String[]{
            Permissions.READ_PHONE_STATE,
            Permissions.CALL_PHONE,
            Permissions.READ_CALL_LOG,
            Permissions.WRITE_CALL_LOG,
            Permissions.ADD_VOICEMAIL,
            Permissions.USE_SIP,
            Permissions.PROCESS_OUTGOING_CALLS};

    public static final String[] SENSORS = new String[]{Permissions.BODY_SENSORS};

    public static final String[] SMS = new String[]{
            Permissions.SEND_SMS,
            Permissions.RECEIVE_SMS,
            Permissions.READ_SMS,
            Permissions.RECEIVE_WAP_PUSH,
            Permissions.RECEIVE_MMS};

    public static final String[] STORAGE = new String[]{
            Permissions.READ_EXTERNAL_STORAGE,
            Permissions.WRITE_EXTERNAL_STORAGE};
}
